<template>
<span :class="['iconfont',`${name}`]"></span>
</template>

<script setup>

defineProps({
    name:{
        type:String,
        required: true
    }
})
</script>


<style>
.iconfont{
    margin-right:28px;
}
</style>